package edu.xidian.bdilab.jrbigdata.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @author
 * @create 2020-11-03 22:56
 */

@TableName(value = "deal_product")
@Data
public class DealProduct {
    //成交记录id
    @TableId(value = "id",type= IdType.AUTO)
    private Integer id;
    //企业主键
    private String socialCode;
    //企业名称
    private String enterpriseName;
    //银行id
    private Integer bankId;
    //银行名称
    private String bankName;
    //产品名称
    private String productName;
    /**
     *成交金额-产品的贷款额度（单位：万元）
     *
     * 0-100万及以下
     *
     * 1-200万及以下
     *
     * 2-300万及以下
     *
     * 3-500万及以下
     *
     * 4-1000万及以下
     *
     * 5-1000万以上
     */
    private Integer amountLoanLimit;
    //成交时间
    private Date dealTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSocialCode() {
        return socialCode;
    }

    public void setSocialCode(String socialCode) {
        this.socialCode = socialCode;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public Integer getBankId() {
        return bankId;
    }

    public void setBankId(Integer bankId) {
        this.bankId = bankId;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Integer getAmountLoanLimit() {
        return amountLoanLimit;
    }

    public void setAmountLoanLimit(Integer amountLoanLimit) {
        this.amountLoanLimit = amountLoanLimit;
    }

    public Date getDealTime() {
        return dealTime;
    }

    public void setDealTime(Date dealTime) {
        this.dealTime = dealTime;
    }
}
